function labelthumbs8(json) {
    for (var i = 0; i < 5; i++) {
        var entry = json.feed.entry[i];
        var posttitle = entry.title.$t;
        var posturl;
        var postauthor = entry.author[0].name.$t;
        if (i == json.feed.entry.length)break;
        for (var k = 0; k < entry.link.length; k++) {
            if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {
                var commenttext = entry.link[k].title;
                var commenturl = entry.link[k].href;
            }
            if (entry.link[k].rel == 'alternate') {
                posturl = entry.link[k].href;
                break;
            }
        }
        var thumburl;
        try {
            thumburl = entry.gform_foot.url;
        } catch (error) {
            s = entry.content.$t;
            a = s.indexOf("<img");
            b = s.indexOf("src=\"", a);
            c = s.indexOf("\"", b + 5);
            d = s.substr(b + 5, c - b - 5);
            if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
                thumburl = d;
            } else thumburl = 'http://3.bp.blogspot.com/-O-vjxP03hYo/UXVtH90_iQI/AAAAAAAAAG4/60hz9Rn5FWA/s1600/No+Image+1.gif';
        }
        var postdate = entry.published.$t;
        var cdyear = postdate.substring(0, 4);
        var cdmonth = postdate.substring(5, 7);
        var cdday = postdate.substring(8, 10);
        var monthnames = new Array();
        monthnames[1] = "يناير";
        monthnames[2] = "فبراير";
        monthnames[3] = "مارس";
        monthnames[4] = "أبريل";
        monthnames[5] = "مايوˆ";
        monthnames[6] = "يونيه";
        monthnames[7] = "يوليو";
        monthnames[8] = "أغسطس";
        monthnames[9] = "سبتمبر";
        monthnames[10] = "أكتوبر";
        monthnames[11] = "نوفمبر";
        monthnames[12] = "ديسمبر";
        if (i == 0) {
            document.write('<div class="first-news"><div class="post-thumbnail"><a href="' + posturl + '" title="' + posttitle + '" rel="bookmark"><img src="' + thumburl + '" style="height: 200px;width: 100%;" alt="' + posttitle + '"><span class="overlay-icon"></span></a></div> <h2 class="post-box-title"><a href="' + posturl + '" title="' + posttitle + '" rel="bookmark">' + posttitle + '</a></h2><p class="post-meta"><span>' + monthnames[parseInt(cdmonth, 10)] + '&nbsp;' + cdyear + ',' + cdday + '</span></p><div class="entry">');
            if ("content"in entry) {
                var postcontent = entry.content.$t;
            } else if ("summary"in entry) {
                var postcontent = entry.summary.$t;
            } else var postcontent = "";
            var re = /<\S[^>]*>/g;
            postcontent = postcontent.replace(re, "");
            if (showpostsummary == true) {
                if (postcontent.length < numchars) {
                    document.write(postcontent);
                } else {
                    postcontent = postcontent.substring(0, numchars);
                    var quoteEnd = postcontent.lastIndexOf(" ");
                    postcontent = postcontent.substring(0, quoteEnd);
                    document.write(postcontent + '...');
                }
            }
            document.write('<a class="more-link" href="' + posturl + '">أكمل القراءة »</a></div></div><ul class="ul-other">');
        }
        else {
            document.write('<li class="other-news"><a href="' + posturl + '" title="' + posttitle + '" rel="bookmark"><table><tr><td><img class="post-thumbnail" src="' + thumburl +'" style="height: 55px;width: 70px;" alt=""></td><td><h2 class="post-box-title">' + posttitle + '</h2><time class="post-meta">' + monthnames[parseInt(cdmonth, 10)] + '&nbsp;' + cdyear + ',' + cdday + '</time></td></tr></table></a></li>');
        }
        if(i == 4){document.write('</ul>');}
    }
}